Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix compile bugs related to apmpi coll_sync mode #17

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

shanedsnyder
Copy link
Contributor

Darshan MAP_OR_FAIL macro internally defines a temporary variable, so using this macro twice in one function will lead to "multiple definition" compilation errors.

To workaround, I added a secondary MAP_OR_FAIL_BARRIER macro that avoids redefining the variable but otherwise works the same.

Darshan MAP_OR_FAIL macro internally defines a temporary variable,
so using this macro twice in one function will lead to "multiple
definition" compilation errors.

To workaround, I added a secondary MAP_OR_FAIL_BARRIER macro that
avoids redefining the variable but otherwise works the same.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant